﻿<controls:ChildWindow x:Class="SGTLightAccent.Views.NuevoBarcoWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="425" Height="304"
          
           DataContext="{Binding Main, Source={StaticResource Locator}}" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
   

        <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="183*" />
            <RowDefinition Height="71" />
        </Grid.RowDefinitions>

        <Button x:Name="CancelButton" Content="Guardar" Click="CancelButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,26,12,12" Grid.Row="1" Command="{Binding Path=BotonGuardarBarco}" />
        <Button x:Name="OKButton" Content="Cancelar" Click="OKButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,26,93,12" Grid.Row="1" />
        <sdk:Label Content="Nombre" Height="28" HorizontalAlignment="Left" HorizontalContentAlignment="Right" Margin="58,54,0,0" Name="label1" VerticalAlignment="Top" Width="61" />
        <sdk:Label Content="Empresa" Height="28" HorizontalAlignment="Left" HorizontalContentAlignment="Right" Margin="58,0,0,69" Name="label2" VerticalAlignment="Bottom" Width="61" />
        <TextBox Height="28" HorizontalAlignment="Left" Margin="139,54,0,0" Name="textBox1" Text="{Binding Path=BarcoNuevo.Nombre, Mode=TwoWay}" VerticalAlignment="Top" Width="220" />
        <TextBox Height="28" HorizontalAlignment="Left" Margin="139,99,0,0" Name="textBox2" Text="{Binding Path=BarcoNuevo.Empresa, Mode=TwoWay}" VerticalAlignment="Top" Width="220" />
    </Grid>
</controls:ChildWindow>